from ordereddict import OrderedDict

a = OrderedDict()

a['test'] = 'testk'
a['test2'] = 'test2k'

print a

print a['test']


for item in a:
    print item
    